package com.yizhu.zczy.user.service.impl;

import com.yizhu.zczy.common.utils.PageUtils;
import com.yizhu.zczy.common.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.yizhu.zczy.user.dao.OauthUserDao;
import com.yizhu.zczy.user.entity.OauthUserEntity;
import com.yizhu.zczy.user.service.OauthUserService;


@Service
public class OauthUserServiceImpl extends ServiceImpl<OauthUserDao, OauthUserEntity> implements OauthUserService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OauthUserEntity> page = this.page(
                new Query<OauthUserEntity>().getPage(params),
                new QueryWrapper<OauthUserEntity>()
        );

        return new PageUtils(page);
    }

}